package com.meizi.daily.mapper;

import com.meizi.daily.entity.Category;
import com.meizi.daily.vo.CategoryHierarchyVo;
import com.meizi.daily.vo.CategoryMenuVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2020-05-26 17:24:23
 */
@org.apache.ibatis.annotations.Mapper
public interface CategoryMapper extends Mapper<Category> {

    List<CategoryMenuVo> getMenuList();

    List<CategoryHierarchyVo> getHierarchy(@Param(value = "ids") List<Integer> collect);
}
